package com.funmi.lizip.entity.dto.personnel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yeyg
 * @since 2022-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "PersonnelAddRequest对象", description = "添加巡护人员")
public class PersonnelAddRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("照片")
    private String photo;

    @ApiModelProperty("出生年月")
    private LocalDateTime birthDate;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("学历")
    private String education;

    @ApiModelProperty("联系方式")
    private String contactTel;

    @ApiModelProperty("固定电话")
    private String telephone;

    @ApiModelProperty("常驻地址")
    private String address;

    @ApiModelProperty("护林员巡护方式")
    private String rangerPatrolType;

    @ApiModelProperty("护林员巡护区域")
    private String rangerPatrolRegion;

    @ApiModelProperty("护林员巡护面积")
    private String rangerPatrolArea;

    @ApiModelProperty("护林员责任区号")
    private String rangerDutyAreaCode;

    /*@ApiModelProperty("护林员林班号")
    private String rangerForestPatchCode;

    @ApiModelProperty("护林员小班号")
    private String rangerSmallPatchCode;*/

    /*@ApiModelProperty("其他信息json")
    private String otherMsg;*/

    @ApiModelProperty("位置 json")
    private String position;

    @ApiModelProperty("北斗设备id")
    private String bdsId;

    @ApiModelProperty("对讲机id")
    private String interPhoneId;

    @ApiModelProperty("是否有账号 1有账号")
    private String isAccount;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("县镇村")
    private String positionJson;
}
